Skip to content

Fix adapter thread exit crash issue to enable graceful adapter shutdown.#2506

Merged
fengzeroz merged 1 commit into
emqx:mainfrom
moruoxian:main
Jun 23, 2025
Merged

Fix adapter thread exit crash issue to enable graceful adapter shutdown.#2506
fengzeroz merged 1 commit into
emqx:mainfrom
moruoxian:main

Conversation

@moruoxian

Copy link
Copy Markdown
Contributor

Fix adapter thread exit crash issue to enable graceful adapter shutdown.

Before exiting the program, the adapter would crash because the adapter thread forcefully terminated, preventing the plugin's stop method from being called in time. Later, an elegant shutdown method was added.

@codecov-commenter

codecov-commenter commented Jun 23, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.75%. Comparing base (895528d) to head (36a2a07).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2506      +/-   ##
==========================================
+ Coverage   66.73%   66.75%   +0.02%     
==========================================
  Files         121      121              
  Lines       27528    27545      +17     
==========================================
+ Hits        18370    18389      +19     
+ Misses       9158     9156       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fengzeroz
fengzeroz merged commit 3aed329 into emqx:main Jun 23, 2025
34 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants